package www.openteam.com.contract.PrdctnMngmnt;

import www.openteam.com.bean.MaxRdsno;
import www.openteam.com.bean.StockTaxLocation;
import www.openteam.com.bean.StockTaxMaterial;
import www.openteam.com.bean.StockTaxPrimary;
import www.openteam.com.bean.StockTaxSublist;
import www.openteam.com.bean.UpdateInfo;

/**
 * Created by Administrator on 2019-12-23.
 */

public class StockTaxContract {

    public interface StockTaxView {
//        void findPrimaryTableSuccess(StockTaxPrimary stockTaxPrimary);
//
//        void findPrimaryTableFail(String msg);
//
//        void findSubTableSuccess(StockTaxSublist stockTaxSublist);
//
//        void findSubTableFail(String msg);

            void findDataFromClassCode(StockTaxMaterial stockTaxMaterial);

            void findDataFromClassCodeFail(String error);

            void findLocation(StockTaxLocation stockTaxLocation);

            void findLocationFail(String error);

            void findMaxRdsno(MaxRdsno maxRdsno);

            void findMaxRdsnoFail(String error);

            void insertStCkStkSucess(UpdateInfo info);

            void insertStCkStkFail(String error);
    }

    public interface StockTaxPresenter{
//        void findPrimaryTable(String rdsno);
//
//        void findSubTable(String zbid);

        void findDataFromClassCode(String code,String lcode);

        void findLocation();

        void findMaxRdsno(String tablename,String morecom,String prefix,String link,String year,String month);

        void insertStCheckStock(String group,String inputer,String morecom,String mid,String inputDate);
    }
}
